package com.icare.trade.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * <pre>
 *    author  : tianhaibo
 *    email   : tianhaibo@jshuii.com
 *    time    : 2020/3/12   17:11
 *    desc    :
 *    version : v1.0
 * </pre>
 */
@EnableDiscoveryClient
@SpringBootApplication(
        scanBasePackages = {"com.icare.trade.server","com.icare.common.service"},
        exclude = {DataSourceAutoConfiguration.class}
)
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class,args);
    }
}
